import service from '@/utils/request'
const api = 'api'
// 登录
export function Login(data) {
  return service({
    url: `${api}/system/auth/login`,
    method: 'post',
    data,
  })
}

// 退出登录
export function logout() {
  return service({
    url: `${api}/system/auth/logout`,
    method: 'post',
  })
}
